package com.maigang.pojo.common;

import java.util.Date;

public class OrderItem {
    private Integer id;

    private Integer userId;

    private Integer orderId;

    private Integer productId;

    private String productName;

    private Integer quantity;

    private String reasonBack;

    private String reasonRefuse;

    private Long totalPrice;

    private Date startTime;

    private Date endTime;

    private Date createTime;

    private Date updateTime;

    public OrderItem(Integer id, Integer userId, Integer orderId, Integer productId, String productName, Integer quantity, String reasonBack, String reasonRefuse, Long totalPrice, Date startTime, Date endTime, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.orderId = orderId;
        this.productId = productId;
        this.productName = productName;
        this.quantity = quantity;
        this.reasonBack = reasonBack;
        this.reasonRefuse = reasonRefuse;
        this.totalPrice = totalPrice;
        this.startTime = startTime;
        this.endTime = endTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public OrderItem() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getReasonBack() {
        return reasonBack;
    }

    public void setReasonBack(String reasonBack) {
        this.reasonBack = reasonBack == null ? null : reasonBack.trim();
    }

    public String getReasonRefuse() {
        return reasonRefuse;
    }

    public void setReasonRefuse(String reasonRefuse) {
        this.reasonRefuse = reasonRefuse == null ? null : reasonRefuse.trim();
    }

    public Long getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Long totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}